package com.spring.task.util;

public class StringTool{
	/**
	 * 转换null为""	
	 * @param t
	 * @return
	 */
	public static String nullToEmpty(Object t){
		if(t==null){
			return "";
		}else{
			return t.toString();
		}
	}
}
